﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hutech.CRM.Library.Presenters;
using nvn.Core.MVP;
using Hutech.CRM.Library.Models.Entities;
using nvn.Library.Patterns;

namespace Hutech.CRM.Library.Views
{
    public static class CreateObjectIListLoaiDanhMucView
    {
        public static void InitView(this IListLoaiDanhMucView view)
        {
            ListLoaiDanhMucPresenter presenter = new ListLoaiDanhMucPresenter(view);
        }
    }
    public interface IListLoaiDanhMucView : IBaseView
    {
        #region properties
        List<DanhMucThongTin> AllItemCategories { set; }

        bool ActiveItem { get; }
        int EditItemIndex { set; }
        string CountLine { set; }

        event EventHandler<EventArgs> AddNew_EvenAgrs;
        event EventHandler<EventArgs> IsActive_Checked;
        event EventHandler<ItemCommandArgs<DanhMucThongTin>> ListLoaiDanhMuc_ItemCommand;
        event EventHandler<ItemDataBoundArgs> ListLoaiDanhMuc_ItemDataBound;
        event EventHandler<OneParameterEventAgrs<DanhMucThongTin>> Reload_EvetAgrs;
        #endregion
    }
}
